using System;
//using SysTem.CommponentModel.DataAnnotations;
using DBEntity.Models;
namespace DBEntity.Models
{
    public partial class MAIN_PLAN
    {
        /// <summary>
        ///  
        /// <summary>
        public long ID { get; set; }

        /// <summary>
        ///  业务库生成数据时间
        /// <summary>
        public DateTime RecordTime { get; set; }

        /// <summary>
        ///  COMM库中对应计划表的ID
        /// <summary>
        public long CommID { get; set; }

        /// <summary>
        ///  三级电文唯一主键，冗余，方便插数据
        /// <summary>
        public string UniqueID { get; set; }

        /// <summary>
        ///  产线ID
        /// <summary>
        public string LineID { get; set; }

        /// <summary>
        ///  计划号
        /// <summary>
        public string PlanNo { get; set; }

        /// <summary>
        ///  顺序号
        /// <summary>
        public int PlanSeq { get; set; }

        /// <summary>
        ///  炉次号
        /// <summary>
        public string HeatNo { get; set; }

        /// <summary>
        ///  轧制批号
        /// <summary>
        public string RollingBatchNo { get; set; }

        /// <summary>
        ///  根数
        /// <summary>
        public int BilletCount { get; set; }

        /// <summary>
        ///  钢坯计划宽度mm
        /// <summary>
        public int BilletWidth { get; set; }

        /// <summary>
        ///  钢坯计划厚度mm
        /// <summary>
        public int BilletThickness { get; set; }

        /// <summary>
        ///  钢坯计划长度mm
        /// <summary>
        public int BilletLength { get; set; }

        /// <summary>
        ///  钢坯计划重量kg
        /// <summary>
        public int BilletWeight { get; set; }

        /// <summary>
        ///  供轧方式：1、直轧（不过加热炉）；2、热供（热送辊道）；3、冷供（上料台架）
        /// <summary>
        public string BilletRoute { get; set; }

        /// <summary>
        ///  钢坯钢种
        /// <summary>
        public string BilletSteelGrade { get; set; }

        /// <summary>
        ///  目标钢种
        /// <summary>
        public string SteelGrade { get; set; }

        /// <summary>
        ///  目标直径mm
        /// <summary>
        public int TargetDiameter { get; set; }

        /// <summary>
        ///  参数个数
        /// <summary>
        public int ProcessCount { get; set; }

        /// <summary>
        ///  钢坯在批次中的原始序号
        /// <summary>
        public int BilletSeq { get; set; }

        /// <summary>
        ///  计划来源0三级1二级新增
        /// <summary>
        public int PlanSource { get; set; }

        /// <summary>
        ///  匹配标记0未匹配1已匹配2作废
        /// <summary>
        public int PlanStatus { get; set; }

        /// <summary>
        ///  入炉顺序号
        /// <summary>
        public int EnterSeq { get; set; }

     }
}
